/*
 * Transaction DAO.java
 *
 * Created on February 13, 2007
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

/**
 *
 * @author craig marshall
 */
package finalintex2web;
import java.util.*;
import java.io.*;
import java.sql.*;
/**
 * Version 1.0
 *
 * The data base access object for transactions
 */
public class BatchController {
    
    
    ///////////////////////////////////////
    ///   Singleton pattern
    
    private static BatchController instance = null;
    
    /** Creates a new instance of BatchController */
    private BatchController() {
    }
    
    /**
     * 
     * @return 
     */
    public static synchronized BatchController getInstance() {
        if (instance == null) {
            instance = new BatchController();
        }
        return instance;
    }
    
    public void  Backupbatch(){
        //find all expired  backups
        //renew memberships
        //send email
    }
    public void Repairbatch(){
        
    }
}